Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Java, property getters added to map output class#297

Merged
spacether merged 13 commits intomasterfrom
feat_improves_map_output_type
Nov 24, 2023
Merged

Java, property getters added to map output class#297
spacether merged 13 commits intomasterfrom
feat_improves_map_output_type

Conversation

@spacether
Copy link
Copy Markdown
Contributor

@spacether spacether commented Nov 23, 2023

Java, improves map output type

  • input types used in SomeSchema.validate
  • input types used in SomeSchemaMap.of
  • output types used in SomeSchema.getMapOutputInstance
  • adds accessor methods for validly named properties + required properties
  • adds accessor method getAdditionalProperty

Notes:
If an optional key/additional property key is not present an exception is thrown

  • this was done because null is not an allowed value for an unset key. Null may be set as a value in a required or optional property, it does not mean unset in this context

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    mvn clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
    Commit all changed files.
    This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
    These must match the expectations made by your contribution.
    You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/python*.
    For Windows users, please run the script in Git BASH.

@spacether spacether changed the title Java, improves map output type Java, property getters added to map output class Nov 24, 2023
@spacether spacether merged commit 2551e95 into master Nov 24, 2023
@spacether spacether deleted the feat_improves_map_output_type branch November 24, 2023 23:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant